package com.hrvsr.session;

import java.util.List;

import com.hrvsr.common.Request;
import com.hrvsr.session.cookie.Cookies;
import com.hrvsr.session.header.Header;
import com.hrvsr.session.proxy.Proxy;

public class EmptySessionPool implements SessionPool  {

	@Override
	public Session poll(Request request) {
		return new Session() {
			
			@Override
			public String getUserAgent() {
				return "Harvester 1.0.0-SNAPSHOT";
			}
			
			@Override
			public Proxy getProxy() {
				return null;
			}
			
			@Override
			public List<Header> getHeaders() {
				return null;
			}
			
			@Override
			public Cookies getCookies() {
				return null;
			}
		};
	}

	@Override
	public void offer(Session sesion) {
		//ignore
	}
	
}
